package com.vueperson.vueperson.t1.CreationalPattern.FactoryMethodPattern.Logger;

public class Client {
    public static void main(String[] args) {
        LoggerFactory factory;
        Logger logger;
//        factory=new FileLoggerFactory();
        factory= (LoggerFactory) XMLUtil.getBean();

        logger=factory.creatLogger();
        logger.writeLog();
    }
}
